<!-- link message -->
<template>
    <div class="zco-link-message-container">
        <div class="zco-link-message">
            {{ link }}
        </div>
    </div>
</template>

<script>
export default {
    props: {
        link: {
            type: String,
            default: () => ''
        },
    },
    data() {
        return {};
    },
    computed: {},
    watch: {},
    mounted() {},
    methods: {}
};
        
</script>

<style scoped>
.zco-link-message-container {
    display: flex;
    align-items: center;
    padding: 10px 0;
    position: relative;
}
.zco-link-message {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-radius: 10px;
    color: #333;
    font-size: 14px;
    line-height: 20px;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 200px;
    display: inline-block;
    cursor: pointer;
}
/*  移动端样式 */
@media screen and (max-width: 979px) {
	.zco-link-message {
		width: 300px;
	}
}
</style>